package com.whz.workmanageol.service.impl;

import com.whz.workmanageol.dao.GradeMapper;
import com.whz.workmanageol.entity.Grade;
import com.whz.workmanageol.service.GradeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class GradeServiceImpl implements GradeService {
    @Autowired
    private GradeMapper gradeMapper;
    @Override
    public Grade findGradeById(String gradeid) {
        return gradeMapper.selectByPrimaryKey(gradeid);
    }
}
